stubby: reduce idle_timeout as recommended upstream
authorAndris PE <[email protected]>
Mon, 6 Oct 2025 07:27:49 +0000 (07:27 +0000)
committerHannu Nyman <[email protected]>
Sun, 12 Oct 2025 16:17:16 +0000 (19:17 +0300)
Reduce idle_timeout parameter from 10s to 9s as recommended upstream
Add a pointer to upstream documentation

Ref: https://github.com/getdnsapi/stubby/blob/7f07bde70ecb9b53fb5fed765725cef6492daf5c/stubby.yml.example#L249
Signed-off-by: Andris PE <[email protected]>
net/stubby/Makefile
net/stubby/files/stubby.conf
net/stubby/files/stubby.yml

index d7a0c77e89d13a85aec62f1b8ac9ce7a4b7f427c..eeacc8f6a6a914da45b8a02bd724bf6015d7dced 100644 (file)
@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=stubby
 PKG_VERSION:=0.4.3
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/getdnsapi/$(PKG_NAME)
index f722a43046ae662cb1c37a0d8238f7a9132802fc..d9158e2cc6e8a4beb53cd07ef710abc472f6a7e7 100644 (file)
@@ -13,7 +13,7 @@ config stubby 'global'
        # option trust_anchors_backoff_time 2500
        # option dnssec_trust_anchors '/var/lib/stubby/getdns-root.key'
        option edns_client_subnet_private '1'
-       option idle_timeout '10000'
+       option idle_timeout '9000'
        option round_robin_upstreams '1'
        list listen_address '127.0.0.1@5453'
        list listen_address '0::1@5453'
@@ -25,6 +25,8 @@ config stubby 'global'
        # option tls_max_version '1.3'
 
 # Upstream resolvers are specified using 'resolver' sections.
+# Extensive list of public DoT servers can be found in upstream stubby sources
+#  https://github.com/getdnsapi/stubby/blob/develop/stubby.yml.example
 config resolver
        option address '2606:4700:4700::1111'
        option tls_auth_name 'cloudflare-dns.com'
index b935f3169fc7b3b3612a27228724718233fd0f72..ab7b3bb503a1fb0c4fd06be300a48b0377bc2ca6 100644 (file)
@@ -8,7 +8,7 @@ appdata_dir: "/var/lib/stubby"
 tls_authentication: GETDNS_AUTHENTICATION_REQUIRED
 tls_query_padding_blocksize: 128
 edns_client_subnet_private: 1
-idle_timeout: 10000
+idle_timeout: 9000
 listen_addresses:
   - 127.0.0.1@5453
   - 0::1@5453